#include "cyu3os.h"
#include "cyu3tx.h"

#include "cyu3types.h"
#include "cyu3system.h"
#include "cyu3error.h"

#include "cyu3usb.h"
#include "cyu3gpio.h"

#define __FX3_TYPE_C_DEBUG_ENABLED (1)
#if __FX3_TYPE_C_DEBUG_ENABLED
#define LOG_MESSAGE(...) CyU3PDebugPrint(0,__VA_ARGS__)
#else
#define LOG_MESSAGE(...)
#endif


typedef struct cyConnectionCheckStatus_t
{
	uint32_t isConnected;
	uint32_t connectionRetries;
	uint32_t usb2Fallback;
}cyConnectionCheckStatus_t;

CyU3PReturnStatus_t CyU3PUSBConnectTypeC(uint8_t muxGpioId,cyConnectionCheckStatus_t *connStatus);
